<template>
	<view class="scrool-page">
		<view class="role-text" v-html="htmlStr">
		</view>
		<view>
			<button type="default" class="my-button" @click="getClick">确定</button>
		</view>
	</view>
</template>

<script>
	export default {
		name:"ruleDisplay",
		data() {
			return {
				
			};
		},
		props: {
			htmlStr:{
				type:String
			},
		},
		methods: {
			getClick() {
				this.$emit("getClick")
			}
		},
	}
</script>

<style>
	page {
		width: 100%;
		height: 100%;
	}
	
	
	.scrool-page {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;
	}
	.container-APP {
		padding-bottom: 100rpx;
		height: 1000rpx;
		width: 700rpx;
		background-color: #FFFFFF;
		border-radius: 10rpx;
	}
	.role-text {
		margin-right: 20rpx;
		margin-left: 20rpx;
	}
	.my-button {
		width: 500rpx;
		height: 80rpx;
		/* line-height: 80rpx; */
		border-radius: 40rpx;
		background-color: rgba(0, 121, 254, 1);
		color: #FFFFFF;
		font-size: 30rpx;
/* 		margin-top: 20rpx;
		margin-bottom: 20rpx; */
		color: #fff;
		line-height: 100rpx;
		flex: 0 0 100rpx;
/* 		position: absolute;
		bottom: 20px;
		left: 100rpx; */
	}
	.footer {
		color: #fff;
		line-height: 100rpx;
		flex: 0 0 100rpx;
		/* 不放大不缩小固定100rpx */
	}
</style>
